package com.xxx.shetuan3.service;

import com.xxx.shetuan3.pojo.Notice;
import com.xxx.shetuan3.pojo.Organization;
import com.xxx.shetuan3.pojo.User;

import java.util.List;

public interface ChiefService {
    public List<Organization> findOrganizationByChiefId(Integer chiefId, Integer start, Integer size);
    public Organization findOrganizationByOrganizationId(Integer organizationId);
    public boolean approveStudentAndOrganization(Integer studentId, Integer organizationId,String state);
    public List<Notice> pageNoticeByOrganizationId(Integer organizationId, Integer start, Integer size);
    public Notice findNoticeByNoticeId(Integer noticeId);
    public boolean updateNotice(Notice notice);
    public boolean deleteNotice(Integer noticeId);
    public boolean saveNotice(Notice notice);
    public List<User> pageUserByOrganizationId(Integer organizationId,Integer start, Integer size);
    public boolean deleteStudentAndOrganizationByStudentIdAndStudentId(Integer studentId, Integer organizationId);
}
